﻿Option Explicit On
Option Strict On

Partial Class private_secure_members_manage_Entity
    Inherits System.Web.UI.Page
    
    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        If User.IsInRole("ListAssociate") Then
            MyEntitiesControl.Visible = False

            lblInfo.Text = "Whoops!"
            lbMessage.Text = "This page is only for individuals that change business details."
            ModalPopupExtender2.Show()
        End If
    End Sub

    Protected Sub Button3_Click(sender As Object, e As System.EventArgs) Handles Button3.Click
        Server.Transfer("~/private/default.aspx")
    End Sub

    Protected Sub btnCancel_Click(sender As Object, e As EventArgs) Handles btnCancel.Click
        Response.Redirect("~/private/default.aspx")
    End Sub
End Class
